package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "event_t", schema = "dev", catalog = "")
public class Event {
    @Id
    private Integer eventId;
    private int eventType;
    private Timestamp creatTime;
    private Integer deviceId;
    private Integer deviceChannelId;
    private String position;
    private String value;
    private int status;
    private String eventDesc;

    private Integer channelSectionId;
    private String longitude;
    private String latitude;
    private Integer errorFlag;



}
